package signalprocessing;



import ikelib.wintime;

/**
 * @author Toshiharu Ikeda <ikeda.104@gmail.com>
 *
 */
public class PlotAxisT extends PlotAxis {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected wintime getViewStartTime(){
		if(Parent!=null){
			if(Parent.size()>0){
				return ((PlotPaneYT)Parent.get(0)).getViewStartTime();
			}
		}
		return new wintime(2012,12,30,17,30,00);
	}
	protected double getViewTimeSpanSec(){
		//if(Parent!=null) return Parent.getViewTimeSpanSec();
		if(Parent!=null){
			if(Parent.size()>0){
				return ((PlotPaneYT)Parent.get(0)).getViewTimeSpanSec();
			}
		}
		return 10;
	}

}
